package MapRelated;

import android.widget.Toast;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;



public class BasicMapOverlay extends Overlay 
{	
	
	//***************************************Constructors*******************************************//
	
	public BasicMapOverlay() 
	{
	}

	
	//***************************************Public Methods*******************************************//

	
	@Override
	public boolean onTap(GeoPoint p, MapView mapView)
	{
		Toast.makeText(mapView.getContext(), 
				p.getLatitudeE6() / 1E6 + "," + 
				p.getLongitudeE6() /1E6 , 
				Toast.LENGTH_SHORT).show();
		return super.onTap(p, mapView);
	}

}